﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MoviesShowing.ascx.cs" Inherits="OnlineMovieTicket.WebForms.UserControl.MoviesShowing" %>
<%@ Register
    Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="ajaxToolkit" %>
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></ajaxToolkit:ToolkitScriptManager>
<table width="80%" border="0" cellpadding="0" cellspacing="0" 
    class="pageBackGround" style="width: 92%">                                                                                 
                                        <tr>
                                            <td>    
                                            <ajaxToolkit:TabContainer ID="tabMovieShow" runat="server" ActiveTabIndex="1" 
                                                    Height="600px" BackColor="#006600">
                                                        <ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="NOW SHOWING" Font-Size="Large" BorderColor="Green" >
                                                            <ContentTemplate>                                                                
                                                                <asp:DataList ID="dlMovieShow" runat="server" OnItemCommand="SelectItemCommand"  
                                                                    RepeatColumns="2" Width="100%" >
                                                                    <ItemStyle Font-Overline="False" ForeColor="White" />
                                                                    <ItemTemplate>
                                                                        <table style="width: 100%;">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Image ID="imgMovie" runat="server" Height="143px" />
                                                                                </td>
                                                                                <td>
                                                                                    <asp:LinkButton ID="lnkMovieName" runat="server" ForeColor="Green" Font-Bold="true" 
                                                                                        Text='<%# Eval("MovieName") %>'></asp:LinkButton>
                                                                                    <br />
                                                                                    <br />
                                                                                    &nbsp;<asp:Label ID="lblGenre" runat="server" ForeColor="Green" 
                                                                                        Text='<%# Eval("Genre") %>' />
                                                                                    <br />
                                                                                    <asp:Label ID="lblMovieCode" runat="server" 
                                                                                        Text='<%# Eval("MovieCode") %>' Visible="False"></asp:Label>
                                                                                    <br />
                                                                                    &nbsp;<asp:Label ID="lblDuration0" runat="server"  ForeColor="Green"
                                                                                        Text="Duration" />
                                                                                    <asp:Label ID="lblDuration" runat="server" ForeColor="Green"
                                                                                        Text='<%# Eval("Duration") %>' />
                                                                                    <br />
                                                                                    <br />
                                                                                    <asp:Button ID="btnBuy" runat="server" CausesValidation="False"  class="btn"
                                                                                        Font-Size="X-Small" Height="21px" onclick="Page_Load" 
                                                                                        PostBackUrl="~/BuyTicket/SearchMovieTimeTable.aspx" Text="BUY TICKETS" 
                                                                                        Width="92px" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </ItemTemplate>
                                                                </asp:DataList>
                                                            </ContentTemplate>
                                                        </ajaxToolkit:TabPanel>
                                                        <ajaxToolkit:TabPanel ID="TabPanel2" runat="server" HeaderText="COMMING SOON" >
                                                            <ContentTemplate>                                                                
                                                                <asp:DataList ID="dlCommingMovie" runat="server"  
                                                                    OnItemCommand="SelectCommingSoonMovie" RepeatColumns="2" Width="80%" >
                                                                    <ItemStyle Font-Overline="False" ForeColor="White" />
                                                                    <ItemTemplate>
                                                                        <table style="width: 100%;">
                                                                            <tr>
                                                                                <td>                                                                                
                                                                                    <asp:Image ID="imgMovie" runat="server" Height="143px" />
                                                                                </td>
                                                                                <td>
                                                                                    <asp:LinkButton ID="lnkMovieName" runat="server" ForeColor="Green" Font-Bold="true"
                                                                                        Text='<%# Eval("MovieName") %>'></asp:LinkButton>
                                                                                    <br />
                                                                                    <br />
                                                                                    &nbsp;<asp:Label ID="lblGenre" runat="server" ForeColor="Green" 
                                                                                        Text='<%# Eval("Genre") %>' />
                                                                                    <br />
                                                                                    <asp:Label ID="lblMovieCode" runat="server" 
                                                                                        ForeColor="White" Text='<%# Eval("MovieCode") %>' Visible="False"></asp:Label>
                                                                                    <br />
                                                                                    &nbsp;<asp:Label ID="lblDuration1" runat="server" ForeColor="Green" 
                                                                                        Text="Duration" />
                                                                                    <asp:Label ID="lblDuration" runat="server" ForeColor="Green"
                                                                                        Text='<%# Eval("Duration") %>' />
                                                                                    <br />
                                                                                    <br />
                                                                                    <asp:Button ID="btnBuy" runat="server" CausesValidation="False"  class="btn"
                                                                                        Font-Size="X-Small" Height="21px" onclick="Page_Load" 
                                                                                        PostBackUrl="~/BuyTicket/SearchMovieTimeTable.aspx" Text="BUY TICKETS" 
                                                                                        Width="92px" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </ItemTemplate>
                                                                </asp:DataList>
                                                            </ContentTemplate>
                                                        </ajaxToolkit:TabPanel>
                                                    </ajaxToolkit:TabContainer>                                               
                                                
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><div id="tabPanelWrapper">
<div id="tabContent1" class="tabContentIndex"><table width="100%" border="0" cellpadding="7" cellspacing="0">
    <tbody><tr><td colspan="3">
        <br />
        </td></tr>
	
</tbody></table>                        </div>



                                            </div></td>
                                        </tr>
                                        
                                </table>

